package com.sun.showcase.client.testcase.query;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.sun.showcase.client.basic.WzSearchModel;
import com.sun.showcase.client.testcase.domain.CaseLibrary;

public class CaseLibraryQuery extends WzSearchModel<CaseLibrary> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * id       db_column: id 
     */	
	private java.lang.Long id;
	  /**
     * 所属用例库       db_column: library_name 
     */	
	private java.lang.String libraryName;
	  /**
     * 所属用例库编码       db_column: library_code 
     */	
	private java.lang.Long libraryCode;
	  /**
     * 所属模块名       db_column: module_name 
     */	
	private java.lang.String moduleName;
	  /**
     * 所属模块编码       db_column: module_code 
     */	
	private java.lang.Long moduleCode;
	  /**
     * 标题       db_column: title 
     */	
	private java.lang.String title;
	  /**
     * 前提条件       db_column: prerequisite 
     */	
	private java.lang.String prerequisite;
	  /**
     * 用例步骤       db_column: case_steps 
     */	
	private java.lang.String caseSteps;
	  /**
     * 预期结果       db_column: expected_result 
     */	
	private java.lang.String expectedResult;
	  /**
     * 用例类型       db_column: type 
     */	
	private java.lang.String type;
	  /**
     * 优先级       db_column: level 
     */	
	private java.lang.String level;
	  /**
     * 有效标记(默认为1有效 0无效）       db_column: active_flag 
     */	
	private java.lang.String activeFlag;
	  /**
     * 创建人ID       db_column: create_by 
     */	
	private java.lang.String createBy;
	  /**
     * 创建人姓名       db_column: create_by_name 
     */	
	private java.lang.String createByName;
	  /**
     * 创建时间       db_column: create_date 
     */	
	private java.util.Date createDate;
	  /**
     * 修改人ID       db_column: modified_by 
     */	
	private java.lang.String modifiedBy;
	  /**
     * 修改人姓名       db_column: modified_by_name 
     */	
	private java.lang.String modifiedByName;
	  /**
     * 修改时间       db_column: modified_date 
     */	
	private java.util.Date modifiedDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private java.lang.Long ids[];

	private Double orderIndex;
	
	private Long currentCaseId;
	
	public Long getCurrentCaseId() {
		return currentCaseId;
	}

	public void setCurrentCaseId(Long currentCaseId) {
		this.currentCaseId = currentCaseId;
	}

	public Double getOrderIndex() {
		return orderIndex;
	}

	public void setOrderIndex(Double orderIndex) {
		this.orderIndex = orderIndex;
	}

	public java.lang.Long getId() {
		return this.id;
	}
	
	public void setId(java.lang.Long value) {
		this.id = value;
	}
	
	public java.lang.String getLibraryName() {
		return this.libraryName;
	}
	
	public void setLibraryName(java.lang.String value) {
		this.libraryName = value;
	}
	
	public java.lang.Long getLibraryCode() {
		return this.libraryCode;
	}
	
	public void setLibraryCode(java.lang.Long value) {
		this.libraryCode = value;
	}
	
	public java.lang.String getModuleName() {
		return this.moduleName;
	}
	
	public void setModuleName(java.lang.String value) {
		this.moduleName = value;
	}
	
	public java.lang.Long getModuleCode() {
		return this.moduleCode;
	}
	
	public void setModuleCode(java.lang.Long value) {
		this.moduleCode = value;
	}
	
	public java.lang.String getTitle() {
		return this.title;
	}
	
	public void setTitle(java.lang.String value) {
		this.title = value;
	}
	
	public java.lang.String getPrerequisite() {
		return this.prerequisite;
	}
	
	public void setPrerequisite(java.lang.String value) {
		this.prerequisite = value;
	}
	
	public java.lang.String getCaseSteps() {
		return this.caseSteps;
	}
	
	public void setCaseSteps(java.lang.String value) {
		this.caseSteps = value;
	}
	
	public java.lang.String getExpectedResult() {
		return this.expectedResult;
	}
	
	public void setExpectedResult(java.lang.String value) {
		this.expectedResult = value;
	}
	
	public java.lang.String getType() {
		return this.type;
	}
	
	public void setType(java.lang.String value) {
		this.type = value;
	}
	
	public java.lang.String getLevel() {
		return this.level;
	}
	
	public void setLevel(java.lang.String value) {
		this.level = value;
	}
	
	public java.lang.String getActiveFlag() {
		return this.activeFlag;
	}
	
	public void setActiveFlag(java.lang.String value) {
		this.activeFlag = value;
	}
	
	public java.lang.String getCreateBy() {
		return this.createBy;
	}
	
	public void setCreateBy(java.lang.String value) {
		this.createBy = value;
	}
	
	public java.lang.String getCreateByName() {
		return this.createByName;
	}
	
	public void setCreateByName(java.lang.String value) {
		this.createByName = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public java.lang.String getModifiedBy() {
		return this.modifiedBy;
	}
	
	public void setModifiedBy(java.lang.String value) {
		this.modifiedBy = value;
	}
	
	public java.lang.String getModifiedByName() {
		return this.modifiedByName;
	}
	
	public void setModifiedByName(java.lang.String value) {
		this.modifiedByName = value;
	}
	
	public java.util.Date getModifiedDate() {
		return this.modifiedDate;
	}
	
	public void setModifiedDate(java.util.Date value) {
		this.modifiedDate = value;
	}
	
	public Map<String, Object> getSearchMap() {
		return searchMap;
	}
	
	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}
	
	public java.lang.Long[] getIds() {
		return ids;
	}
	
	public void setIds(java.lang.Long[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.DEFAULT_STYLE);
	}
	
}

